package com.shop.cereshop.admin.service.im;

import com.shop.cereshop.admin.page.im.ImReportVO;
import com.shop.cereshop.admin.param.imreport.ImReportParam;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.domain.imReport.CereImReport;
import com.shop.cereshop.commons.exception.CoBusinessException;
import com.shop.cereshop.commons.result.Result;

public interface ImReportService {
    /**
     * 分页查询举报记录
     */
    Page<ImReportVO> getReportPage(ImReportParam param) throws CoBusinessException;

    /**
     * 根据ID获取举报记录
     */
    CereImReport getReportById(Long reportId) throws CoBusinessException;

    /**
     * 更新举报记录
     */
    Boolean updateReport(CereImReport param) throws CoBusinessException;

    /**
     * 审核举报
     */
    Result<Void> auditReport(ImReportParam param) throws CoBusinessException;


}
